import Vue from "vue"
import Vuex from "vuex"

Vue.use(Vuex)

export default new Vuex.Store({
	
	state:{
		temp:1
	},
	
	mutations:{
		dealTemp(state,temp){
			state.temp = temp
		}
	},
	
	getters:{
		
	},
	
	actions:{
		changeTemp(context,temp){
			context.commit("dealTemp",temp)
		}
	}

})
